package com.ce.service;

import com.ce.entity.ShoppingList;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jyt
 * @since 2022-03-07
 */
public interface ShoppingListService extends IService<ShoppingList> {
    /**
     * 获取采购清单列表
     *
     * @return 采购清单list
     */
    public List<ShoppingList> getList(ShoppingList shoppingList);


    /**
     * 获取采购金额信息列表
     *
     * @return
     */
    public List<ShoppingList> getListForPrice();

    /**
     * @return 采购金额信息列表
     */
    public List<ShoppingList> getListForPrice(ShoppingList shoppingList);

    /**
     * 添加采购清单
     *
     * @param shoppingList
     * @return map
     */
    public Map<String, String> addShoppingList(ShoppingList shoppingList);

}
